package com.yhhvip.lottery.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author XOu
 * @description 获取活动信息时的请求VO
 * @date 2018/6/18
 */
@Data
@ToString
public class ReqActivityVo {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", example = "1", required = true, position = 1)
    private Long userId;

    @NotNull(message = "活动id不能为空")
    @ApiModelProperty(value = "活动id", example = "1", required = true, position = 2)
    private Long activityId;


}
